- x
A fitted object of class Stage.1
.
- Homoscedasticity
Logical. Should plots to evaluate homoscedasticity be shown?
Default Homoscedasticity=TRUE
.
- Normality
Logical. Should plots to evaluate the normality assumption be shown? The normality plots are based on the standardized residuals in the normative dataset, which are computed as explained in the Assume.Homoscedasticity=
argument documentation below. Default Normality=TRUE
.
- Outliers
Logical. Should plots to evaluate outliers be shown? The outlier plot is based on the standardized residuals in the normative dataset, which are computed as explained in the Assume.Homoscedasticity=
argument documentation below. Default Outliers=TRUE
.
- Assume.Homoscedasticity
By default, the standardized residuals \(\widehat{\delta}_i\) that are shown in the normality and outlier plots are computed based on the overall residual standard error when the homoscedasticity assumption is valid (i.e., as \(\widehat{\delta}_i = \frac{\widehat{\varepsilon}_i}{\widehat{\sigma}^2_{\varepsilon}}\), with \(\widehat{\sigma}^2_{\varepsilon}\) corresponding to the overall residual standard error), or based on prediction-specific residual standard errors when the homoscedasticity assumption is invalid (i.e., as \(\widehat{\delta}_i = \frac{\widehat{\varepsilon}_i}{\widehat{\sigma}^2_{\varepsilon_i}}\), with \(\widehat{\sigma}^2_{\varepsilon_i}\) corresponding to e.g., a cubic polynomial variance prediction function \(\widehat{\sigma}^2_{\varepsilon_i} = \widehat{\gamma}_0 + \widehat{\gamma}_1 \: \widehat{Y} + \widehat{\gamma}_2 \: \widehat{Y}^2 + {\gamma}_3 \: \widehat{Y}^3\) when the mean structure of the model contains quantitiative independent variables). The default behaviour of the plot()
function can be overruled using the Assume.Homoscedasticity
argument. For example, when adding the argument Assume.Homoscedasticity=TRUE
to the function call, the standardized residuals that are plotted will be computed based on the overall residual standard error (irrespective of the result of the Levene or Breusch-Pagan test).
- Add.Jitter
The amount of jitter (random noise) that should be added to the X-axis of the homoscedasticity plots (which show the model-predicted mean values). Adding a bit of jitter is useful to show the data more clearly (especially when there are only a few unique predicted values, e.g., when a binary or non-binary qualitative independent variable is considered in the mean structure of the model), i.e., to avoid overlapping data points. The specified value Add.Jitter=
in the function call determines the amount of jitter (range of values) that is added. For example, when Add.Jitter=0.1
, a random value between -0.1 and 0.1 (sampled from a uniform) is added to the predicted values in the homoscedasticity plots (shown on the X-axis). Default Add.Jitter=0
, i.e., no jitter added to the predicted values in the homoscedasticity plots.
- Seed
The seed that is used when adding jitter. Default Seed=123
.
- Confidence.QQ.Normality
Specifies the desired confidence-level for the confidence band arond the line of perfect agreement/normality in the QQ-plot that is used to evaluate normality. Default Confidence.QQ.Normality=0.95
. Use Confidence.QQ.Normality= FALSE
if no confidence band is needed.
- Plots.Together
The different homoscedasticity and normality plots are grouped together in a panel by default. For example, the three normality plots are shown together in one panel. If it is preferred to have the different plots in separate panels (rather than grouped to- gether), the argument Plots.Together=FALSE
can be used. Default Plots.Together=TRUE
.
- Y.Lim.ResVarFunction
The min, max limits of the Y-axis that should be used for the variance function plot. By default, the limit of the Y-axis is set between \(0\) and the maximum value of estimated variances multiplied by \(2\). This can be changed using the Y.Lim.ResVarFunction
argument. For example, adding the argument Y.Lim.ResVarFunction=c(0, 500)
sets the range of the Y-axis of the variance function plot from 0 to 500.
- Group.Spec.Densities.Delta
Logical. Should a plot with the group-specific densities of the standardized residuals be shown? Default Group.Spec.Densities.Delta=FALSE
.
- Main.Homosced.1
The title of the first panel of the homoscedasticity plot (i.e., the scatterplot of the residuals against the predicted scores).
- Main.Homosced.2
The title of second panel of the homoscedasticity plot (i.e., the variance function plot).
- Main.Norm.1
The title of the first panel of the normality plot (i.e., the histogram of the standardized residuals).
- Main.Norm.2
The title of the second panel of the normality plot (i.e., the density of the standardized residuals and standard normal distribution).
- Main.Norm.3
The title of the third panel of the normality plot (i.e., the QQ-plot).
- Main.Outliers
The title of the outlier plot.
- cex.axis.homo
The magnification to be used for axis annotation of the homoscedasticity plots.
- cex.main.homo
The magnification to be used for the main label of the homoscedasticity plots.
- cex.lab.homo
The magnification to be used for the X- and Y-axis labels of the homoscedasticity plots.
- cex.axis.norm
The magnification to be used for axis annotation of the normality plots.
- cex.main.norm
The magnification to be used for the main label of the normality plots.
- cex.lab.norm
The magnification to be used for X and Y labels of the normality plots.
- cex.axis.outl
The magnification to be used for axis annotation of the outlier plot.
- cex.main.outl
The magnification to be used for the main label of the outlier plot.
- cex.lab.outl
The magnification to be used for X- and Y-axis labels of the outlier plot.
- Color
The color to be used for the Empirical Variance Function (EVF) and the standard normal distribution in the variance function plot and the normality plot that show the densities of the standardized residuals and the normal distribution, respectively. Default Color="red"
.
- Loess.Span
The parameter \(\alpha\) that determines the degree of smoothing of the EVF that is shown in the variance function plot. Default Loess.Span=0.75
.
- verbose
A logical value indicating whether verbose output should be generated.
- ...
Other arguments to be passed.